﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

using Hangjing.SQLServerDAL;
using Hangjing.Model;
using Hangjing.Common;


namespace Html5
{
    /// <summary>
    /// 跑腿订单详情
    /// </summary>
    public partial class showexpressorder : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            CustorderInfo model = new Custorder().GetModel(HjNetHelper.GetQueryString("id"));

            IList<CustorderInfo> list = new List<CustorderInfo>();
            list.Add(model);

            dellink.HRef = "Commentshop.aspx?id=" + model.Unid;

            WebUtility.BindRepeater(rptorder, list);

            IList<OrderStepInfo> steps = new OrderStep().GetOrderSteps(model.orderid);

            WebUtility.BindRepeater(rptppt, steps);
        }
    }
}
